package org.jeecg.eqp.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备检验项配置
 * @Author: LiCY
 * @Date:   2024-09-03
 * @Version: V1.0
 */
@Data
@TableName("eqp_spchk_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="eqp_spchk_cfg对象", description="设备检验项配置")
public class EqpSpchkCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    @TableId
    private Integer recId;
	/**数据类型*/
	@Excel(name = "数据类型", width = 15)
    @ApiModelProperty(value = "数据类型")
    @Dict(dicCode = "eqp_datatype")
    private String datatype;
	/**设备ID*/
	@Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
    private String equipid;
	/**参数名称*/
	@Excel(name = "参数名称", width = 15)
    @ApiModelProperty(value = "参数名称")
    private String name;

    @Excel(name = "项目类型", width = 15)
    @ApiModelProperty(value = "项目类型")
    @Dict(dicCode = "eqpTRIGBUS")
    private String typ;
	/**上公差*/
	@Excel(name = "上公差", width = 15)
    @ApiModelProperty(value = "上公差")
    private BigDecimal lowLimit;
	/**下公差*/
	@Excel(name = "下公差", width = 15)
    @ApiModelProperty(value = "下公差")
    private BigDecimal upLimit;
	/**是否检验*/
	@Excel(name = "是否检验", width = 15)
    @ApiModelProperty(value = "是否检验")
    @Dict(dicCode = "isCheck")
    private String limitCheck;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**排序序号*/
	@Excel(name = "排序序号", width = 15)
    @ApiModelProperty(value = "排序序号")
    private String sequence;
	/**基准值*/
	@Excel(name = "基准值", width = 15)
    @ApiModelProperty(value = "基准值")
    private String standard;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    @Dict(dicCode = "valid_status")
    private Integer status;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
